#-------------------------------------------------
#
# Project created by QtCreator 2020-02-24T13:43:05
#
#-------------------------------------------------

QT       += core gui serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = HandlerWidget
TEMPLATE = app

PROROOT=/home/lbw/Work/SDK
OPENCV_HOME=/SDK/opencv320
BOOST_HOME = /SDK/boost1640
MVCAM_COMMON_HOME=/opt/MVS
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += $${OPENCV_HOME}/include \
               $${PROROOT}/include \
               $${PROROOT}/include/image2 \
               $${BOOST_HOME}/include \
               $${MVCAM_COMMON_HOME}/include

LIBS += -L$${OPENCV_HOME}/lib \
        -L$${PROROOT}/lib \
        -L$${BOOST_HOME}/lib/release \
        -lbase -ldevice \
        -lopencv_imgcodecs -lopencv_imgproc -lopencv_core -lopencv_tracking \
        -latomic \
        -lboost_filesystem -lboost_system -lboost_date_time \
        -lpcan \
        -lnlopt -lusb-1.0\#-leigen3
        -lmodbus  -lsqlite3 \
        -L$${MVCAM_COMMON_HOME}/lib/64 -lGCBase_gcc421_v3_0 -lGenApi_gcc421_v3_0 -lXmlParser_gcc421_v3_0 -lMvCameraControl

INCLUDEPATH += $${PWD}/third

LIBS += -L$${PWD}/lib   \
        -lHandlerPlugin

SOURCES += \
        main.cpp \
        mainwindow.cpp

HEADERS += \
        mainwindow.h

FORMS += \
        mainwindow.ui
